package com.atguigu.tingshu.user.login.enums;

public enum LoginType {
    PHONE(1, "手机号登录"),
    EMAIL(2, "邮箱登录"),
    WECHAT(3, "微信登录"),
    QQ(4, "QQ登录"),
    WEIBO(5, "微博登录"),
    ALI(6, "阿里登录");
    private int type;
    private String desc;

    LoginType(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }
}
